<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model frontend\models\PnHangHoa */

$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Pn Hang Hoas', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="pn-hang-hoa-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a('Update', ['update', 'id' => $model->id], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'id' => $model->id], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'so_ctu',
            'ma_ctu',
            'ncc_id',
            'ten_ncc',
            'mst_ncc',
            'phong_ban_id',
            'kho_id',
            'vi_tri_kho_id',
            'dien_giai',
            'ky_hieu_hdon',
            'so_hdon',
            'ngay_hdon',
            // 'thue_suat',
            'pptt_id',
            'tien_hang',
            'tien_thue',
            'tien_thanh_toan',
            'tk_thue',
            'nguoi_nhap',
            'ngay_nhap',
            'nguoi_sua',
            'ngay_sua',
            'trang_thai',
        ],
    ]) ?>

</div>
